package dao;

import java.util.List;
import java.util.Map;

import entity.Category;

public interface CategoryDAO {
	public List<Category> findAll() throws Exception;
	public Category findById(int id)throws Exception;
	public List<Category> findByParentId(int parend_id)throws Exception;
	//返回导航栏列表
	public Map<Integer,String> findBYProId(int id)throws Exception;
}
